import { defineStore } from 'pinia'
import state from './state'
import actions from './actions'
import getters from './getters'

/*
 * 应用
*/
export default defineStore('config',{
  state: () => state,
  getters,
  actions,
  // 开启数据缓存
  persist: {
    enabled: true
  }
})